package com.naizhuai.ui.entity.mainbusiness;


import com.naizhuai.Model.db.user.PersonUserBean;
import com.naizhuai.ui.entity.management.DepartmentBean;

import java.io.Serializable;
import java.util.List;

/**
 * 搜索返回的负责人或者参与人员的信息接口
 * Created by code_han on 208/4/3.
 */

public class TargetSearchLimitedBack implements Serializable {

    private List<DepartmentBean> departmentList;
    private List<PersonUserBean> userList;

    public TargetSearchLimitedBack() {
    }

    public List<DepartmentBean> getDepartmentList() {
        return departmentList;
    }

    public void setDepartmentList(List<DepartmentBean> departmentList) {
        this.departmentList = departmentList;
    }

    public List<PersonUserBean> getUserList() {
        return userList;
    }

    public void setUserList(List<PersonUserBean> userList) {
        this.userList = userList;
    }

    @Override
    public String toString() {
        String size=departmentList==null?"null":departmentList.size()+"个";
        String size2=userList==null?"null":userList.size()+"个";
        return size+size2;
    }


}
